package com.ljx.blog.article.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ljx.blog.article.domain.entity.Article;
import com.ljx.blog.article.domain.vo.req.ArticlePageReq;
import com.ljx.blog.article.domain.vo.req.ArticleSubmitCheckReq;
import com.ljx.blog.article.domain.vo.req.ArticleSubmitReq;
import com.ljx.blog.article.domain.vo.resp.ArticleResp;
import com.ljx.blog.common.domain.vo.resp.PageResp;

public interface ArticleService extends IService<Article> {
    ArticleResp getInfo(Long articleId);

    PageResp<ArticleResp> getPage(ArticlePageReq req);

    ArticleResp submit(ArticleSubmitReq req);

    Boolean submitCheck(ArticleSubmitCheckReq req);

    PageResp<Article> getPageByAdmin(ArticlePageReq req);
}
